package com.es.www;

/**
 * @Created by michangtao
 * @Date 2022/5/19 10:55
 * @Description
 */
public class LargeCoffee extends CoffeeCapacity{

    protected LargeCoffee(ICoffeeTaste coffeeTaste) {
        super(coffeeTaste);
    }

    @Override
    public void orderCoffee(int count) {
        coffeeTaste.addSomeThing();
        System.out.println(String.format("大杯咖啡%d杯", count));
    }
}
